package com.ruoyi.course.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程列表对象 qcl_course
 *
 * @author ruoyi
 * @date 2024-10-17
 */
@TableName(value = "qcl_course")
@Data
public class Course extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID 编号
     */
    @Excel(name = "ID 编号")
    private Long id;

    /**
     * 课程名称
     */
    @Excel(name = "课程名称")
    private String courseName;

    /**
     * 所属班级
     */
    @Excel(name = "所属班级")
    private String courseClass;

    /**
     * 上课教师
     */
    @Excel(name = "上课教师")
    private String courseTeacher;

    /**
     * 所属学校
     */
    @Excel(name = "所属学校")
    private String courseSchool;

    /**
     * 教师联系电话
     */
    @Excel(name = "教师联系电话")
    private String teacherAttack;

    /**
     * 上课地点
     */
    @Excel(name = "上课地点")
    private String coursePlace;

    /**
     * 课程年月日
     */
    @Excel(name = "课程年月日")
    private String courseTime;

    /**
     * 课程时分
     */
    @Excel(name = "课程时分")
    private String courseHour;

    /**
     * 星期
     */
    @Excel(name = "星期")
    private String courseWeek;

    /**
     * 课程状态
     */
    @Excel(name = "课程状态", readConverterExp = "1=正常,2=不正常")
    private String courseStatus;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseClass() {
        return courseClass;
    }

    public void setCourseClass(String courseClass) {
        this.courseClass = courseClass;
    }

    public String getCourseTeacher() {
        return courseTeacher;
    }

    public void setCourseTeacher(String courseTeacher) {
        this.courseTeacher = courseTeacher;
    }

    public String getCourseSchool() {
        return courseSchool;
    }

    public void setCourseSchool(String courseSchool) {
        this.courseSchool = courseSchool;
    }

    public String getTeacherAttack() {
        return teacherAttack;
    }

    public void setTeacherAttack(String teacherAttack) {
        this.teacherAttack = teacherAttack;
    }

    public String getCoursePlace() {
        return coursePlace;
    }

    public void setCoursePlace(String coursePlace) {
        this.coursePlace = coursePlace;
    }

    public String getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(String courseTime) {
        this.courseTime = courseTime;
    }

    public String getCourseHour() {
        return courseHour;
    }

    public void setCourseHour(String courseHour) {
        this.courseHour = courseHour;
    }

    public String getCourseWeek() {
        return courseWeek;
    }

    public void setCourseWeek(String courseWeek) {
        this.courseWeek = courseWeek;
    }

    public String getCourseStatus() {
        return courseStatus;
    }

    public void setCourseStatus(String courseStatus) {
        this.courseStatus = courseStatus;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("courseName", getCourseName())
                .append("courseClass", getCourseClass())
                .append("courseTeacher", getCourseTeacher())
                .append("courseSchool", getCourseSchool())
                .append("teacherAttack", getTeacherAttack())
                .append("coursePlace", getCoursePlace())
                .append("courseTime", getCourseTime())
                .append("courseHour", getCourseHour())
                .append("courseWeek", getCourseWeek())
                .append("courseStatus", getCourseStatus())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
